import React, { Component } from 'react'

export default class Dialog extends Component {
  constructor(){
    super();
    this.state={
      name : ''
    }
  }
  render() {
    return (
      <div className="mask">
        <div className="con">
          <p>{this.props.title}</p>
          <div>
            {this.props.children}
          </div>
        </div>
      </div>
    )
  }
}
